using System;
using System.Data;
using WP.Commons;

namespace WP.MF.DataEntity
{

    //=========  MSysRemark  ============================
    [System.ComponentModel.DesignerCategory("Code")]
    public class MSysRemarkDEL : DataSet, IDataEntity
    {
        //=========mSysRemark ============================
        public const string TABLENAME_MSYSREMARK = "mSysRemark";
        public const string RECID = "RecId";
        public const string REMARKNO = "RemarkNo";
        public const string REMARKDESC = "RemarkDesc";
        public const string RECSTAMP = "RecStamp";
        private System.Collections.Specialized.NameValueCollection mVarCollection = new System.Collections.Specialized.NameValueCollection();
        public System.Collections.Specialized.NameValueCollection VarCollection
        {
            get { return mVarCollection; }
            set { mVarCollection = value; }
        }

        public MSysRemarkDEL()
        {
            //Create mSysRemark structure
            CreatemSysRemarkStructure();

        }

        //=========mSysRemark============================
        private void CreatemSysRemarkStructure()
        {
            DataTable table;
            DataColumnCollection DCC;
            DataColumn DC = new DataColumn();
            table = new DataTable(TABLENAME_MSYSREMARK);
            DCC = table.Columns;

            DC = new DataColumn(RECID, typeof(System.Int32));
            DCC.Add(DC);

            DC = new DataColumn(REMARKNO, typeof(System.String));
            DCC.Add(DC);

            DC = new DataColumn(REMARKDESC, typeof(System.String));
            DCC.Add(DC);

            DC = new DataColumn(RECSTAMP, typeof(System.Byte[]));
            DCC.Add(DC);

            this.Tables.Add(table);
        }

    }
}
